package com.whw.fy.mapper;

import com.whw.fy.entity.Plans;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface PlansMapper {
    int deleteByPrimaryKey(Integer plansId);

    int insert(Plans record);

    int insertSelective(Plans record);

    Plans selectByPrimaryKey(Integer plansId);

    int updateByPrimaryKeySelective(Plans record);

    int updateByPrimaryKey(Plans record);

    int updateBatchSelective(List<Plans> list);

    int batchInsert(@Param("list") List<Plans> list);



    List<Plans> selectAll();

    List<Plans> selectAllByPlansStudentId(@Param("plansStudentId") Integer plansStudentId);

    List<Plans> selectByPlansStudentId(@Param("plansStudentId") Integer plansStudentId);

    int CountByPlansTeacherIdNowInMonth(@Param("plansTeacherId") Integer plansTeacherId);

    List<Plans> selectAllByPlansClazzId(@Param("plansClazzId") Integer plansClazzId);

    List<Plans> selectByPlansPeopleResponsibleTeacherId(@Param("plansPeopleResponsibleTeacherId") Integer plansPeopleResponsibleTeacherId);
}